<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>列表展示</title>
</head>
<body>
<div id="app">
    <ul>
        <li v-for="item in movies">{{item}}</li>
    </ul>
</div>
<script src="../node_modules/vue/dist/vue.js"></script>
<script>
   const app =  new Vue({
        el:"#app",
        data:{
            movies:['星际穿越','源代码','盗梦空间','钢琴家']
        }
    })
</script>
</body>
</html>